<?php

namespace maotool\core\config;

class ProxyConfig
{

    protected $next;

    public function __construct($next)
    {
        $this->next = $next;
    }

    public function get() {
        $next = $this->next;
        return $next();
    }

}